package com.charles.video.common.core.constant;

/**
 * @author Charles-H
 * 
 * 缓存常量
 */
public class CacheConstants {
    
    /** 缓存有效期: 1440 (分钟) */
    public final static long EXPIRATION = 1440;
    
    /** 缓存刷新时间: 120 (分钟) */
    public final static long REFRESH_TIME = 120;
    
    /** 权限缓存前缀 */
    public final static String LOGIN_TOKEN_KEY = "login_token:";
    
    /** 验证码缓存密钥 */
    public static final String CAPTCHA_CODE_KEY = "captcha_code:";
    
}
